<?php
class BrandAction extends CommonAction{
	//赋值品牌可用分类
	public function _before_index(){
		$model = M('Pclass');
		$list = $model->where('status=1 AND module="Brand"')->select();
		$this->assign('pclass',$list);
	}
	//赋值品牌可用分类
	public function _before_add(){
		$model = M('Pclass');
		$list = $model->where('status=1 AND module="Brand"')->select();
		$this->assign('pclass',$list);
	}
	//赋值品牌可用分类
	public function _before_edit(){
		$model = M('Pclass');
		$list = $model->where('status=1 AND module="Brand"')->select();
		$this->assign('pclass',$list);
	}
	
}
?>
